package com.pan.script.pantrans.util;

import java.awt.event.MouseEvent;

public enum MouseEventMap implements RobotEventMap{
    INSTANCE;

    @Override
    public Integer getEventId(String key) {
        if (key.equals("1")){
            return 1<<10;
        }else if (key.equals("2")){
            return 1<<11;
        }else if (key.equals("3")){
            return 1<<12;
        }else {
//            throw new RuntimeException("mapping error: Not found \""+key+"\" of mouse key");
            return null;
        }
    }
}
